package com.lostreseditores.sabersai.dataaccess.dao;

import java.util.List;

import com.lostreseditores.sabersai.model.Menu;


public interface IMenuDAO {
    public void save(Menu instance);

    public void delete(Menu instance);

    public void update(Menu instance);

    public Menu findById(Integer id);

    public List<Menu> findByExample(Menu instance);

    public List<Menu> findByProperty(String propertyName, Object value);

    public List<Menu> findAll();

    public List<Menu> findByCriteria(String whereCondition);

    public List<Menu> findPageMenu(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberMenu();

    public List<Menu> findByMenuidn(Object menuidn);

    public List<Menu> findByMenuimagenv(Object menuimagenv);

    public List<Menu> findByMenunombrev(Object menunombrev);

    public List<Menu> findByMenupaginav(Object menupaginav);
}
